package com.cdy.sample_client2.service;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.cdy.sample_client2.service.fallback.FeignFallback;

 
@FeignClient(value = "producer",fallback = FeignFallback.class)
public interface FeignService {

    @RequestMapping(value = "/world",method = RequestMethod.GET)
    public String test();
}
